package designpattern.demo.structural.bridgepattern;

import designpattern.demo.structural.bridgepattern.draw.Shape;
import designpattern.demo.structural.bridgepattern.draw.impl.GreenCircle;
import designpattern.demo.structural.bridgepattern.draw.impl.RedCircle;
import designpattern.demo.structural.bridgepattern.ex.Circle;

public class Main {
    public static void main(String[] args) {
        Shape redCircle = new Circle(100,100, 10, new RedCircle());
        Shape greenCircle = new Circle(100,100, 10, new GreenCircle());

        redCircle.draw();
        greenCircle.draw();
    }
}
